package com.sh.dc.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
public class SolverSchedulerConfig {

    @Value("${solver-scheduler.endpoint}")
    private String endpoint;

    @Value("${solver-scheduler.task-stop}")
    private String taskStop;


    public String getTaskStopUrl() {
        return endpoint + taskStop;
    }

}
